<!-- <!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hello World 界面</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            color: #333;
        }
        
        .container {
            max-width: 900px;
            width: 100%;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        
        header {
            background: linear-gradient(to right, #6a11cb, #2575fc);
            color: white;
            text-align: center;
            padding: 30px 20px;
        }
        
        h1 {
            font-size: 2.8rem;
            margin-bottom: 10px;
            font-weight: 800;
            letter-spacing: 1px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .content {
            padding: 40px;
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
        }
        
        .main-text {
            flex: 1;
            min-width: 300px;
        }
        
        .hello-box {
            background: linear-gradient(to right, #ff7e5f, #feb47b);
            color: white;
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.03); }
            100% { transform: scale(1); }
        }
        
        .hello-text {
            font-size: 3.5rem;
            font-weight: 700;
        }
        
        .description {
            line-height: 1.6;
            margin-bottom: 20px;
            font-size: 1.1rem;
        }
        
        .features {
            flex: 1;
            min-width: 300px;
        }
        
        .features-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #2575fc;
            font-weight: 600;
        }
        
        .feature-list {
            list-style-type: none;
        }
        
        .feature-list li {
            padding: 12px 15px;
            margin-bottom: 12px;
            background: #f1f8ff;
            border-radius: 10px;
            display: flex;
            align-items: center;
            transition: transform 0.3s;
        }
        
        .feature-list li:hover {
            transform: translateX(5px);
            background: #e4f1ff;
        }
        
        .feature-list i {
            margin-right: 10px;
            color: #2575fc;
            font-size: 1.2rem;
        }
        
        .buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        
        .btn {
            padding: 14px 28px;
            border-radius: 50px;
            border: none;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .btn-primary {
            background: #2575fc;
            color: white;
        }
        
        .btn-primary:hover {
            background: #1a67e8;
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(37, 117, 252, 0.4);
        }
        
        .btn-secondary {
            background: transparent;
            color: #2575fc;
            border: 2px solid #2575fc;
        }
        
        .btn-secondary:hover {
            background: rgba(37, 117, 252, 0.1);
            transform: translateY(-3px);
        }
        
        footer {
            text-align: center;
            padding: 20px;
            background: #f8f9fa;
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        @media (max-width: 768px) {
            .content {
                padding: 25px;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .hello-text {
                font-size: 2.8rem;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <header>
            <h1>欢迎来到编程世界</h1>
            <p class="subtitle">每一个程序员的故事都从这两个简单的词语开始</p>
        </header>
        
        <div class="content">
            <div class="main-text">
                <div class="hello-box">
                    <div class="hello-text">Hello World!</div>
                </div>
                
                <p class="description">
                    "Hello, World!" 程序是学习任何编程语言时的第一个示例程序，
                    它于1978年在贝尔实验室的C语言教程中首次出现。这个简单的程序展示了语言的基本语法，
                    让初学者能够快速了解如何编写和运行程序。
                </p>
                
                <p class="description">
                    无论你学习的是Python、JavaScript、Java、C++还是其他编程语言，
                    "Hello, World!" 都是你的起点，带你踏上编程之旅。
                </p>
                
                <div class="buttons">
                    <button class="btn btn-primary">
                        <i class="fas fa-play-circle"></i> 运行程序
                    </button>
                    <button class="btn btn-secondary">
                        <i class="fas fa-code"></i> 查看代码
                    </button>
                </div>
            </div>
            
            <div class="features">
                <h3 class="features-title">编程入门要点</h3>
                <ul class="feature-list">
                    <li><i class="fas fa-check-circle"></i> 选择一门适合初学者的编程语言</li>
                    <li><i class="fas fa-check-circle"></i> 学习基本语法和概念</li>
                    <li><i class="fas fa-check-circle"></i> 编写你的第一个Hello World程序</li>
                    <li><i class="fas fa-check-circle"></i> 理解变量、数据类型和控制结构</li>
                    <li><i class="fas fa-check-circle"></i> 通过实践项目巩固知识</li>
                    <li><i class="fas fa-check-circle"></i> 加入开发者社区交流学习</li>
                </ul>
            </div>
        </div>
        
        <footer>
            <p>© 2023 Hello World 界面 | 编程入门的第一步</p>
        </footer>
    </div>

    <script>
        // 简单的交互效果
        document.addEventListener('DOMContentLoaded', function() {
            const helloBox = document.querySelector('.hello-box');
            const buttons = document.querySelectorAll('.btn');
            
            // 点击Hello World框的效果
            helloBox.addEventListener('click', function() {
                this.style.background = 'linear-gradient(to right, #00cdac, #02aab0)';
                setTimeout(() => {
                    this.style.background = 'linear-gradient(to right, #ff7e5f, #feb47b)';
                }, 500);
            });
            
            // 按钮点击效果
            buttons.forEach(btn => {
                btn.addEventListener('click', function() {
                    this.classList.add('clicked');
                    setTimeout(() => {
                        this.classList.remove('clicked');
                    }, 300);
                    
                    if (this.classList.contains('btn-primary')) {
                        alert('程序运行中...输出: Hello World!');
                    } else {
                        alert('printf("Hello World!\\n");\nreturn 0;');
                    }
                });
            });
        });
    </script>
</body>
</html> -->
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hello World示例</title>
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            color: #333;
        }
        
        .container {
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            padding: 40px;
            text-align: center;
            max-width: 500px;
            width: 90%;
        }
        
        h1 {
            color: #4a4a4a;
            margin-bottom: 20px;
            font-size: 2.5rem;
        }
        
        p {
            font-size: 1.2rem;
            line-height: 1.6;
            margin-bottom: 25px;
            color: #555;
        }
        
        .hello-world {
            font-size: 3rem;
            font-weight: bold;
            color: #6e8efb;
            margin: 25px 0;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .code-container {
            background-color: #f5f7ff;
            border-left: 4px solid #6e8efb;
            padding: 15px;
            margin: 20px 0;
            text-align: left;
            border-radius: 0 8px 8px 0;
        }
        
        code {
            font-family: 'Courier New', monospace;
            color: #333;
        }
        
        .footer {
            margin-top: 30px;
            font-size: 0.9rem;
            color: #777;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>欢迎来到HTML世界</h1>
        <p>这是一个简单的Hello World页面，展示了基本的HTML结构和CSS样式。</p>
        
        <div class="hello-world">Hello, World!</div>
        
        <p>上面的文本是通过以下HTML代码创建的：</p>
        
        <div class="code-container">
            <code>
                &lt;div class="hello-world"&gt;Hello, World!&lt;/div&gt;
            </code>
        </div>
        
        <p>您可以将此代码保存为<strong>index.html</strong>文件，然后在浏览器中打开它。</p>
        
        <div class="footer">
            <p>HTML是构建网页的基础，CSS用于美化页面样式。</p>
        </div>
    </div>
</body>
</html>